#!/bin/sh
#
rootdir=/home/work/fleague.org/fleague

#SRCS="
#user
#club
#honor
#member
#follower
#league
#team
#playerlist
#match
#lineup
#event
#spiritborad
#table
#spirit
#rank
#district
#"
SRCS="
user
club
honor
member
follower
league
team
playerlist
match
lineup
district
"

for FILE in $SRCS
do
    if [ -z "$FILE" ];then
        continue
    fi
    echo "cp $rootdir/contrib/codegen/gen/processor-impl/${FILE}.py $rootdir/fleague/processor/impl/${FILE}.py"
    vim -d $rootdir/contrib/codegen/gen/processor-impl/${FILE}.py $rootdir/fleague/processor/impl/${FILE}.py
    #break
done
exit

diff -r $rootdir/contrib/codegen/gen/processor-impl $rootdir/fleague/processor/impl | grep diff
